<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    package="net.pokurt.aniryu">

    <uses-permission android:name="android.permission.INTERNET" />



    <application
        android:name=".aniryu"
        android:allowBackup="true"
        android:fullBackupContent="true"
        android:icon="@mipmap/ic_launcher"
        android:label="@string/app_name"
        android:roundIcon="@mipmap/ic_launcher_round"
        android:supportsRtl="true"
        android:usesCleartextTraffic="true"
        android:theme="@style/AppTheme">
        <uses-library android:name="org.apache.http.legacy" android:required="false" />
        <receiver android:name="androidx.media.session.MediaButtonReceiver" >
            <intent-filter>
                <action android:name="android.intent.action.MEDIA_BUTTON" />
            </intent-filter>
        </receiver>
        <activity
            android:name=".SplashActivity"
            android:theme="@style/SplashTheme">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />

                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
        <activity
            android:name=".MainActivity"
            android:launchMode="singleTask">
            <intent-filter>
                <action android:name="android.intent.action.VIEW" />
                <category android:name="android.intent.category.DEFAULT" />
                <category android:name="android.intent.category.BROWSABLE" />
                <data android:scheme="aniryu" android:host="auth" />
                <data android:scheme="net.myanimelist" android:host="login.input" />
            </intent-filter>
        </activity>
        <activity
            android:name=".ui.main.player.VideoPlayerActivity"
            android:screenOrientation="sensorLandscape"
            android:theme="@style/VideoPlayer"
            android:supportsPictureInPicture="true"
            android:launchMode="singleTask"
            android:configChanges=
                "screenSize|smallestScreenSize|screenLayout|orientation"
            tools:ignore="LockedOrientationActivity"
            tools:targetApi="n" >



            </activity>

    </application>

</manifest>